Chrome 扩展 API
NW.js 支持所有 Chrome 应用平台 的 chrome.* API。
NW.js 也支持部分 扩展平台 的 chrome.* API,参考下面的文档列表:
- chrome.contentSettings:用于控制通知的设置
- chrome.tabs:用于完全支持开发工具扩展
- chrome.proxy:管理代理设置
- chrome.cookies:方法
get
、getAll
、set
、remove
支持带有 webview storeId 的 webview (webview.getCookieStoreId()
)